#!/data/home/yhp/data/exsoft/usr/local/diamond/3.10_x64/bin/lin64/diamondc
#配置
puts "Running-by hpyuan"
set dir [pwd]
prj_project open "$dir/step_tp.ldf"

prj_run Synthesis -impl impl1
prj_run Map -impl impl1
prj_run PAR -impl impl1
prj_run Export -impl impl1

#拷贝生成的配置文件到step fpga中
file copy $dir/impl1/step_tp_impl1.jed /media/yhp/STEP\ FPGA/led.jed   
